package Information;

import java.sql.Date;

import javax.xml.crypto.Data;

public class News
{
	private String NHeadline;
	private String NContent;
	private String NImage;
	private String NSource;
	private Date PublishTime;
	private int TotalClick;
	 
	
	public News(){}
	
	public void SetNewsInfo(String NHeadline,String NContent,String NImage,String NSource,Date PublishTime,int TotalClick)
	{
		this.NHeadline=NHeadline;
		this.NContent=NContent;
		this.NImage=NImage;
		this.NSource=NSource;
		this.PublishTime = PublishTime;
		this.TotalClick=TotalClick;
	}
	public String getHeadline()
	{
		return this.NHeadline;
	}
	public String getContent()
	{
		return this.NContent;
	}
	public String getSource()
	{
		return this.NSource;
	}
	public Date getPublishDate()
	{
		return this.PublishTime;
	}
	public int getTotalClick()
	{
		return this.TotalClick;
	}
}